﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlServerCe;

namespace RepairDatabase
{
    public class RepairDatabase
    {

        public RepairDatabase()
        {
            string connectionString = "Data Source =\"C://Documents and Settings//gbarzola//Escritorio//sdffiles//PolePositionMobile.sdf\"";
            SqlCeEngine engine = new SqlCeEngine(connectionString);
            engine.Repair(connectionString,RepairOption.RecoverCorruptedRows);

        }
    }
}
